Skip to content

Conversation

@batconjurer
Copy link
Collaborator

Describe your changes

Indexers fail to identify the types of older txs since these types use wasm hasheh. If those hashes were overwritten by governance proposals, the indexer is unable to determine how to deserialize these txs. This PR adds a new key to storage which allows looking up a tx type from a wasm hash, even if that hash is of code no longer in use.

Checklist before merging

  • If this PR has some consensus breaking changes, I added the corresponding breaking:: labels
    • This will require 2 reviewers to approve the changes
  • If this PR requires changes to the docs or specs, a corresponding PR is opened in the namada-docs repo
    • Relevant PR if applies:
  • If this PR affects services such as namada-indexer or namada-masp-indexer, a corresponding PR is opened in that repo
    • Relevant PR if applies:

@github-actions github-actions bot added the breaking:api public API breaking change label Jun 8, 2025
@batconjurer batconjurer requested a review from sug0 June 9, 2025 06:40
@batconjurer batconjurer closed this Jun 9, 2025
@codecov
Copy link

codecov bot commented Jun 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (a2856a4) to head (80eb56e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #4690   +/-   ##
============================
============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@batconjurer batconjurer reopened this Jun 9, 2025
@brentstone
Copy link
Collaborator

We should close and abandon this now though, right? @batconjurer

@sug0
Copy link
Collaborator

sug0 commented Jun 9, 2025

no, we still need this pr, to look-up the tx code aliases

@batconjurer batconjurer requested a review from sug0 June 9, 2025 14:06
@batconjurer batconjurer mentioned this pull request Jun 9, 2025
3 tasks
@tzemanovic tzemanovic added the requires-migration Requires DB migration to update some state label Jul 16, 2025
tzemanovic added a commit that referenced this pull request Jul 16, 2025
* origin/bat/wasm-name-lookups:
  Fix changelog
  Added changelog
  Added new storage key that allows looking up a wasm name from a hash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking:api public API breaking change requires-migration Requires DB migration to update some state

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants